﻿@page
@{ Layout = "_LayoutHome"; }

<div style="height: 10px;"></div>
<el-form v-on:submit.native.prevent ref="form" :model="form" size="small" status-icon label-width="140px">
  <el-form-item label="账号">
    {{ user.userName }}
  </el-form-item>
  <el-form-item label="密码" prop="password" :rules="[{ required: true, message: '请输入密码' }]">
    <el-input v-model="form.password" type="password" name="password" autocomplete="off"></el-input>
  </el-form-item>
  <el-form-item label="确认密码" prop="confirmPassword" :rules="[{ required: true, message: '请输入确认密码' }, { validator: validatePass }]">
    <el-input v-model="form.confirmPassword" type="password" name="confirmPassword" autocomplete="off"></el-input>
  </el-form-item>
</el-form>

<el-divider></el-divider>
<div style="height: 10px"></div>

<el-row>
  <el-col :span="24" align="center">
    <el-button type="primary" v-on:click="btnSubmitClick" size="small">确 定</el-button>
  </el-col>
</el-row>

@section Scripts{
<script src="/sitefiles/assets/js/home/password.js" type="text/javascript"></script> }